Skip to content

Conversation

@alexander-yevsyukov
Copy link
Contributor

This PR improves the reliability of publishing documentation using retries with exponential backoff.

Copilot AI review requested due to automatic review settings December 4, 2025 18:28
@alexander-yevsyukov alexander-yevsyukov self-assigned this Dec 4, 2025
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review December 4, 2025 18:28
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the reliability of documentation publishing by adding retry logic with exponential backoff to Git operations. The implementation wraps the git push operations in a withRetries utility function that attempts operations up to 3 times with exponentially increasing delays.

  • Introduces a reusable withRetries utility function with configurable retry parameters (attempts, delays, backoff factor)
  • Wraps git push operations in retry logic to handle transient network failures
  • Bumps project version from 2.0.0-SNAPSHOT.033 to 2.0.0-SNAPSHOT.034

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
buildSrc/src/main/kotlin/io/spine/gradle/git/Repository.kt Adds withRetries utility function and wraps push() method with retry logic to handle transient git operation failures
version.gradle.kts Updates compiler version to 2.0.0-SNAPSHOT.034
pom.xml Updates artifact version to 2.0.0-SNAPSHOT.034
dependencies.md Updates dependency report with new version numbers and regeneration timestamps

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alexander-yevsyukov alexander-yevsyukov merged commit 6ae19d1 into master Dec 4, 2025
6 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the exponential-backoff-doc-publishing branch December 4, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants